<template>
    <div id="app" class="fysxs">
        <div class="w100p">
            <!-- <van-nav-bar title="hitea后台" /> -->
            <van-nav-bar>
                <template #title>
                    <span class="t-b">Hitea后台</span>
                </template>
            </van-nav-bar>
        </div>
        <div class="fx-g1 w100p ovy-s">
            <router-view />
        </div>
    </div>
</template>

<script>
import getGoods from "./network/getGoods";
export default {
    created() {
        getGoods().then((res) => {
            this.$store.commit("setGoods", res.data);
        });
    },
};
</script>

<style lang="scss">
#app {
    height: 100vh;
    background-color: #f2f2f2;
}
.bgc-g {
    background-color: rgb(18, 0, 177);
}
.tc-g {
    color: rgb(18, 0, 177);
}
</style>
